Pod::Spec.new do |s|
  s.name = "JLPerformanceService"
  s.version = "0.1.0"
  s.summary = """
  性能辅助SDK
  阿里ARMS:包含crash 和 性能分析
  腾讯bugly
  """
  s.homepage         = 'https://jlpay.com'
  s.license          =  "MIT"
  s.authors = {"lz"=>""}
  s.description = "性能分析SDK"  
  #s.source = { :path => '.' }
  s.source = {  :git => 'https://gitlab.jlpay.com/access-services/common-components/ios-component.git',  :tag => "#{s.name}_v#{s.version}" }

  s.ios.deployment_target    = '9.0'
  s.swift_version = '5.0'

  #阿里ARMS
  s.subspec 'JLARMS' do |ss|
    #路径
    ssPath = "JLThirdSupportService/JLThirdSupportService/Classes/JLPerformanceService/JLARMS/"
    #代码文件
    ss.source_files = ssPath +'*.{h,m,swift}'
    
    ss.dependency "AlicloudCrash"
    ss.dependency "AlicloudAPM"
    ss.ios.framework = 'Foundation'
  end

  #腾讯bugly
   s.subspec 'JLBugly' do |ss|

     #路径
     ssPath = "JLThirdSupportService/JLThirdSupportService/Classes/JLPerformanceService/JLBugly/"
     #代码文件
     ss.source_files = ssPath +'*.{h,m,swift}'
     ss.dependency "Bugly"
  end

end
